const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  msgNum: state => state.user.msgNum,
  userInfo: state => state.user.userInfo,
  name: state => state.user.name,
  permissionRoutes: state => state.permission.routes,
  showNavBar: state => state.settings.showNavBar,
  perIdentityList: state => state.permission.perIdentityList
}
export default getters
